package com.jwsoft.manager.core.integration;

import com.bifang.module.system.common.vo.appArticle.AppArticleStatusVO;
import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.eduEnrollmenBrochure.*;
import com.jwsoft.manager.common.vo.eduFormSpecial.EduFormSpecialVO;
import com.jwsoft.manager.common.vo.eduStudentEnrollPre.EnrollSubmitVO;

import java.util.List;

/**
 * 各学校招生简章业务本地接口
 *
 * @author chenchao
 * @since 2023-01-11
 */
public interface EduEnrollmenBrochureIntegration {
    /** 分页查询 */
    PageInfo<EnrollmenBrochureVO> getList(EnrollmenQueryVO vo);
    /** 根据主键查询详情 */
    EnrollmenBrochureVO getById(EduEnrollmenBrochureKeyVO vo);
    /** 管理端查询招生方案详细信息 */
    EnrollmenBrochureVO getByIdPc(EduEnrollmenBrochureQueryVO vo);
    /** 保存前统一校验*/
    void checkSave(EduEnrollmenBrochureVO vo);
    /** 新增 */
    EduEnrollmenBrochureVO add(EduEnrollmenBrochureVO vo);
    /** 修改 */
    EduEnrollmenBrochureVO edit(EduEnrollmenBrochureVO vo);
    /** 根据主键删除 */
    void del(EduEnrollmenBrochureKeyVO vo);

    PageInfo<EnrollmenBrochureVO> getEnrollmenList(EnrollmenQueryVO vo);

    void submitEnroll(EnrollSubmitVO vo);
    /** 上架或下架 */
    void editPublish(AppArticleStatusVO vo);
    /***
     * 文章审核
     */
    void auth(EnrollmenAuthVO vo);


    String saveEnroll(EnrollmenVO vo);

    void rejectEnroll(EnrollmenVO vo);

    void saveYwSpecialFormInfo(EduFormSpecialVO vo);


    void batchPublish(EnrollmenVO vo);
    /** 招生区域根据schoolId和year查询 */
    List<EnrollmenBrochureVO> getEnrollmenBrochure(enrollmenBrochureSearchVO vo);
    /** 招生区域修改 */
    void editCoordinate(enrollmenBrochureUpdateVO vo);
    /**查询户籍、房产截止时间*/
    EduEnrollmenBrochureVO queryHjFcEndTime(EduEnrollmenBrochureQueryVO vo);

    void batchAuth(BatchEnrollmentVO vo);

    void batchEditPublish(BatchEnrollmentVO vo);
}
